package com.shenzhen.horselive.beans;

import java.util.List;

public class RedCommentsBean {

    /**
     * errCode : null
     * errMessage : null
     * total : 8
     * data : [{"id":8,"redEnvelopesId":15,"userId":2,"userName":"李四","userAvatar":"http://credit-packets-test.oss-cn-shanghai.aliyuncs.com/headimg-17110863834246725479gU5hxwSQW.jpg","comment":"这个红包真不错2","createTime":"2020-08-18 20:26:47","createTimeStamp":"1597753607"},{"id":7,"redEnvelopesId":15,"userId":2,"userName":"李四","userAvatar":"http://credit-packets-test.oss-cn-shanghai.aliyuncs.com/headimg-17110863834246725479gU5hxwSQW.jpg","comment":"这个红包真不错2","createTime":"2020-08-18 20:26:46","createTimeStamp":"1597753606"}]
     * success : true
     */

    private String errCode;
    private String errMessage;
    private int total;
    private boolean success;
    private List<DataBean> data;

    public String getErrCode() {
        return errCode;
    }

    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }

    public String getErrMessage() {
        return errMessage;
    }

    public void setErrMessage(String errMessage) {
        this.errMessage = errMessage;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 8
         * redEnvelopesId : 15
         * userId : 2
         * userName : 李四
         * userAvatar : http://credit-packets-test.oss-cn-shanghai.aliyuncs.com/headimg-17110863834246725479gU5hxwSQW.jpg
         * comment : 这个红包真不错2
         * createTime : 2020-08-18 20:26:47
         * createTimeStamp : 1597753607
         */

        private int id;
        private int redEnvelopesId;
        private int userId;
        private String userName;
        private String userAvatar;
        private String comment;
        private String createTime;
        private String createTimeStamp;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getRedEnvelopesId() {
            return redEnvelopesId;
        }

        public void setRedEnvelopesId(int redEnvelopesId) {
            this.redEnvelopesId = redEnvelopesId;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getUserAvatar() {
            return userAvatar;
        }

        public void setUserAvatar(String userAvatar) {
            this.userAvatar = userAvatar;
        }

        public String getComment() {
            return comment;
        }

        public void setComment(String comment) {
            this.comment = comment;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getCreateTimeStamp() {
            return createTimeStamp;
        }

        public void setCreateTimeStamp(String createTimeStamp) {
            this.createTimeStamp = createTimeStamp;
        }
    }
}
